package com.java.base.exercise.annonation;

import lombok.Data;

/**
 * @Author RenPu
 * @Date 2023/10/3 15:03
 * @Version 1.0
 * @Description:
 **/

@Data
@Knowledge(meters={"hi","hello"})
public class Common {

    @Knowledge(meters={"hi","hello"})
    private String name;

    private String address;

    @Knowledge(meters={"hi","hello"})
    public String getDefValue(){
        return "hello";
    }

    @Knowledge(meters = {"welcome","china"})
    private String getRich(){
        return " knowledge is change life !!!!!  ";
    }



}
